package hello.model;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author majinding888@foxmail.com
 * @date 2016-12-21 下午12:22:18
 */
@XmlRootElement
public class HelloBean implements Serializable{

	private static final long serialVersionUID = 1L;
	private Integer id;
	private String msg;
	private Date date;

	public HelloBean() {
	}

	public HelloBean(Integer id, String msg, Date date) {
		super();
		this.id = id;
		this.msg = msg;
		this.date = date;
	}

	@XmlElement
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@XmlElement
	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@XmlElement
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}
